/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package controller;

import Model.cliente;
import Model.clienteFisico;
import Model.clienteJuridico;

/**
 *
 * @author Andre
 */
public class clienteFactory {
    public clienteFactory()
    {
    }
    
    public cliente getCliente(String tipo)
    {
        if(tipo == "Pessoa Física")
            return new clienteFisico();
        else
            return new clienteJuridico();
    }
}
